#pragma once

#include "Sentence.h"

class SentencePointer{
	Sentence *sentence;

	public:
		SentencePointer( Sentence *pointerTo );

		int operator==(const SentencePointer &pointer);
		Sentence* operator->() const{
			return sentence;
		};

		friend bool operator<(const SentencePointer &p1, const SentencePointer &p2){
			return p1.sentence < p2.sentence;
		}
};
